.TH "D:/FEUP/LCOM/WorkC/projecto/trunk/videog.h" 3 "25 May 2010" "Colision" \" -*- nroff -*-
.ad l
.nh
.SH NAME
D:/FEUP/LCOM/WorkC/projecto/trunk/videog.h \- 
.SH SYNOPSIS
.br
.PP
\fC#include <dpmi.h>\fP
.br
\fC#include <go32.h>\fP
.br
\fC#include <stdlib.h>\fP
.br
\fC#include <sys/nearptr.h>\fP
.br
\fC#include <math.h>\fP
.br
\fC#include <string.h>\fP
.br

.SS "Defines"

.in +1c
.ti -1c
.RI "#define \fBBLACK\fP   0x00"
.br
.ti -1c
.RI "#define \fBBRIGHT\fP   0x08"
.br
.ti -1c
.RI "#define \fBRED\fP   0x04"
.br
.ti -1c
.RI "#define \fBGREEN\fP   0x02"
.br
.ti -1c
.RI "#define \fBBLUE\fP   0x01"
.br
.ti -1c
.RI "#define \fBWHITE\fP   0x07"
.br
.ti -1c
.RI "#define \fBTOP_BORDER\fP   18"
.br
.ti -1c
.RI "#define \fBCHAR_HEIGHT\fP   16"
.br
.ti -1c
.RI "#define \fBCHAR_WIDTH\fP   8"
.br
.ti -1c
.RI "#define \fBset_pixel\fP(x, y, color, base)   ( *((base) + (y)*\fBHRES\fP + (x)) = (color) )"
.br
.ti -1c
.RI "#define \fBCHR_H\fP   16"
.br
.in -1c
.SS "Functions"

.in +1c
.ti -1c
.RI "char * \fBenter_graphics\fP (int mode, __dpmi_meminfo *map)"
.br
.ti -1c
.RI "void \fBleave_graphics\fP (__dpmi_meminfo *map)"
.br
.ti -1c
.RI "void \fBset_large_pixel\fP (int x, int y, int color, char *base)"
.br
.ti -1c
.RI "int \fBget_pixel\fP (int x, int y, char *base)"
.br
.ti -1c
.RI "void \fBclear_screen\fP (char color, char *base)"
.br
.ti -1c
.RI "void \fBclear_game_screen\fP (char color, char *base)"
.br
.ti -1c
.RI "void \fBreset_screen\fP (char color, char *base)"
.br
.ti -1c
.RI "void \fBdraw_line\fP (int xi, int yi, int xf, int yf, int color, char *base)"
.br
.ti -1c
.RI "void \fBdraw_rect\fP (int x1, int y1, int x2, int y2, int color, char *base)"
.br
.ti -1c
.RI "void \fBdrawCharAt\fP (char c, int x, int y, int fore_color, int back_color, int char_scale, char *table, char *base)"
.br
.ti -1c
.RI "void \fBswap_buffers\fP (char *buffer, char *base)"
.br
.ti -1c
.RI "void \fBswap_game_buffers\fP (char *buffer, char *base)"
.br
.in -1c
.SS "Variables"

.in +1c
.ti -1c
.RI "int \fBHRES\fP"
.br
.ti -1c
.RI "int \fBVRES\fP"
.br
.ti -1c
.RI "char * \fBvideo_mem\fP"
.br
.ti -1c
.RI "char * \fBimage_buffer\fP"
.br
.ti -1c
.RI "char * \fBimage_buffer_original\fP"
.br
.in -1c
.SH "Author"
.PP 
Generated automatically by Doxygen for Colision from the source code.
